/*******************************************************
* Copyright (c) 2018-2088, By XuXiang all rights reserved.
*
* FileName: RoleWrap.h
*
* Author: AutoBuild
* Date: --/--
*******************************************************/

#ifndef __RoleWrap_h__
#define __RoleWrap_h__

#include <string>
#include <vector>
#include "../ConfigWrap.h"
using namespace std;

namespace Competition
{
	class RoleWrap : public ConfigWrap
	{
	public:
		RoleWrap();

		virtual int GetUniqueKey() { return id; }
		virtual void Read(CSVLoader* loader);

		int id;												//编号
		int atk;											//攻击
		int hp;												//生命
		int def;											//防御
	};
}

#endif

